<template lang="pug">
  keep-alive
    kalix-table(bizKey="histogramtitle" title='主机' ref="kalixTable"
    v-bind:tableFields="tableFields"
    v-bind:targetURL="histogramtitleURL"
    v-bind:bizDialog="histogramtitleDialog"
    v-bind:btnList="histogramtitleBtnList"
    v-bind:buttonPermissionPrefix="buttonPermissionPrefix"
    v-bind:toolbarBtnList="toolbarBtnList"
    bizSearch="HistogramtitleSearch")
</template>

<script type="text/ecmascript-6">
  import {KshHistogramtitleURL, histogramtitleBtnPermissionPrefix} from '../config.toml'
  import {histogramtitleConfigBtnList} from './config'
  import KalixTable from '../../../components/corelib/components/common/baseTable'

  export default {
    name: 'kalix-ksh-histogramtitle',
    components: {KalixTable},
    data() {
      return {
        histogramtitleURL: KshHistogramtitleURL,
        tableFields: [
          {prop: 'uuid', label: 'UUID'},
          {prop: 'appname', label: '属于应用'},
          {prop: 'system', label: '属于系统'}
        ],
        histogramtitleDialog: [
          {id: 'add', dialog: 'HistogramtitleAdd'},
          {id: 'view', dialog: 'HistogramtitleView'},
          {id: 'edit', dialog: 'HistogramtitleEdit'}
        ],
        histogramtitleBtnList: histogramtitleConfigBtnList,
        buttonPermissionPrefix: histogramtitleBtnPermissionPrefix,
        toolbarBtnList: [
          {id: 'add', isShow: true, title: '添加', isPermission: true}
        ]
      }
    }
  }
</script>

<style scoped lang="stylus">

</style>
